projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
657a33a
)
Add #undef for open, close, read, write.
author
Richard M. Stallman
<rms@gnu.org>
Thu, 31 Aug 1995 02:37:12 +0000
(
02:37
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Thu, 31 Aug 1995 02:37:12 +0000
(
02:37
+0000)
lib-src/test-distrib.c
patch
|
blob
|
history
diff --git
a/lib-src/test-distrib.c
b/lib-src/test-distrib.c
index dc5adb5789c233b6de8737fccd9dc1664fbf4d67..01897b83a7f41e0acaac4ec7f085650135c2bb53 100644
(file)
--- a/
lib-src/test-distrib.c
+++ b/
lib-src/test-distrib.c
@@
-2,6
+2,12
@@
#include <config.h>
#endif
+/* Cancel substitutions made by config.h for Emacs. */
+#undef open
+#undef read
+#undef write
+#undef close
+
#include <stdio.h>
#ifndef O_RDONLY